package org.pixelami.twisted.spread.pb
{
	import org.pixelami.twisted.spread.flavors.RemoteCopy;
	
	public class CopiedFailure extends RemoteCopy
	{
		public function CopiedFailure()
		{
		}
		
		public function printtraceback(file:Object=null, elideFrameworkCode:uint=0, detail:String='default'):void
		{
	        if (file == null)
	        {
	            //file = log.logfile;
	        }
	        file.write("traceback from remote host -- ");
	        //file.write(this.traceback);
		}
	
	    public var printBrieftraceback:Function = printtraceback;
	    public var printDetailedtraceback:Function = printtraceback;

	}
}

/*
class CopiedFailure(RemoteCopy, failure.Failure):
    def printtraceback(self, file=None, elideFrameworkCode=0, detail='default'):
        if file is None:
            file = log.logfile
        file.write("traceback from remote host -- ")
        file.write(self.traceback)

    printBrieftraceback = printtraceback
    printDetailedtraceback = printtraceback
*/    